package com.happy.service.api;

import com.happy.dao.api.user.UserMapper;
import com.happy.model.api.user.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by xiao on 2018/2/22.
 */


@Service
public class ApiUserService {

    @Autowired
    private UserMapper userMapper;

    public Object getAll() {

        List<UserEntity> all = userMapper.getAll();
        return all;
    }

}
